<?php 
include "config.inc.php";

if(!(isset($_SESSION['login']) && $_SESSION['login'] === 1)) {
	echo "<script>window.location.href='./login.php'; </script>";
} else {
	echo "You are already log in !";
}

?>
